package com.hxzy.shop.dto.coupon.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author ht
 * @Date 2021/7/8 10:11
 * @Version 1.0
 */
@Data
public class CouponStateReq implements Serializable {

    @NotBlank(message = "优惠券id不能为空")
    @ApiModelProperty(value = "优惠券id")
    private String couponId;

    @ApiModelProperty(value = "状态  true启用 false停用")
    private Boolean state;
}
